package org.dromara.third.auth.beans.constans;


import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 异常枚举类
 *
 * @author admin
 * @date 2020/7/13 15:04
 */
@Getter
@AllArgsConstructor
public enum ExceptionEnum {

    //异常类型
    AuthException01(10001, "缺少必传参数"),
    AuthException02(10002, "非法的企业信息"),
    AuthException03(10003, "验签失败"),
    AuthException04(10004, "权限校验失败"),
    AuthException05(10005, "请求头未带token"),
    AuthException06(10006, "参数校验失败"),
    AuthException07(10007, "组装参数失败"),
    AuthException08(10008, ":请求数据过大,请求条数为:"),
    AuthException09(10009, "数据校验失败"),
    AuthException10(10010, "系统异常，请联系管理员"),
    ;

    private int code;
    private String message;

}
